<h1>New booking</h1>

<%= error_messages_for :booking %>

<% form_for(@booking) do |f| %>
  <p>
    <b>Booking date</b><br />
    <%= f.date_select :booking_date %>
  </p>

  <p>
    <b>Cust</b><br />
    <%= f.text_field :cust_id %>
  </p>

  <p>
    <b>Camp</b><br />
    <%= f.text_field :camp_id %>
  </p>

  <p>
    <b>Arrival date</b><br />
    <%= f.date_select :arrival_date %>
  </p>

  <p>
    <b>Nights</b><br />
    <%= f.text_field :nights %>
  </p>

  <p>
    <b>Adults</b><br />
    <%= f.text_field :adults %>
  </p>

  <p>
    <b>Children</b><br />
    <%= f.text_field :children %>
  </p>

  <p>
    <b>Total</b><br />
    <%= f.text_field :total %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', bookings_path %>
